﻿/************************************************************************************
 *      Copyright (C) 2018 dawenyang,All Rights Reserved
 *      File:
 *                OperatorModel.cs
 *      Description:
 *            用户相关信息
 *      Author:
 *                Yangxianwen
 *                
 *                
 *      Finish DateTime:
 *                2018年01月04日
 *      History:
 ***********************************************************************************/
using System;

namespace FrameWork.Context.Oprator
{
    public class OperatorModel
    {
        /// <summary>
        /// 用户Id
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 用户账号
        /// </summary>
        public string Account { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 用户头像
        /// </summary>
        public string HeadImg { set; get; }
        
        /// <summary>
        /// 角色集合字符串
        /// </summary>
        public string RoleIdsStr { get; set; }

        /// <summary>
        /// 用户token
        /// </summary>
        public string LoginToken { get; set; }

        /// <summary>
        /// 登录时间
        /// </summary>
        public DateTime LoginTime { get; set; }
    }
}
